<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:insert="~{common :: commomcss}"></head>
  <body>
  <!-- navbar-->
  <div th:replace="~{common :: commonheader}"></div>
  <div class="d-flex align-items-stretch">
    <div id="sidebar" class="sidebar py-3">
      <ul th:insert="~{common :: siderul}"></ul>
    </div>
    <div class="page-holder w-100 d-flex flex-wrap">
      <div class="container-fluid px-xl-5">
        <section class="py-5">
          <div class="row">

            <div class="card" style="width: 18rem;">
              <div class="card-body">
                <h5 class="card-title">步骤一</h5>
                <p class="card-text">录入学生信息</p>
                <a th:href="@{/admin/excel/studentinfo}" class="btn btn-primary">下载模板</a>
                <div class="line"></div>
                <form method="post" action="/admin/readexcel/studentInfo" enctype="multipart/form-data">
                  <div class="form-group row">
                    <div class="col-md-12">
                      <div class="custom-file">
                        <input type="file" class="custom-file-input" name="file">
                        <label class="custom-file-label">studentinfo</label>
                      </div>
                    </div>
                  </div>
                  <button type="submit" class="btn btn-primary">导入</button>
                </form>
              </div>
            </div>
            <div class="card" style="width: 18rem;">
              <div class="card-body">
                <h5 class="card-title">步骤二</h5>
                <p class="card-text">录入教师信息</p>
                <a th:href="@{/admin/excel/teacherinfo}" class="btn btn-primary">下载模板</a>
                <div class="line"></div>
                <form method="post" action="/admin/readexcel/teacherInfo" enctype="multipart/form-data">
                  <div class="form-group row">
                    <div class="col-md-12">
                      <div class="custom-file">
                        <input type="file" class="custom-file-input" name="file">
                        <label class="custom-file-label">teacherinfo</label>
                      </div>
                    </div>
                  </div>
                  <button type="submit" class="btn btn-primary">导入</button>
                </form>
              </div>
            </div>
            <div class="card" style="width: 18rem;">
              <div class="card-body">
                <h5 class="card-title">步骤三</h5>
                <p class="card-text">录入班级信息</p>
                <a th:href="@{/admin/excel/gradeinfo}" class="btn btn-primary">下载模板</a>

                <div class="line"></div>
                <form method="post" action="/admin/readexcel/gradeInfo" enctype="multipart/form-data">
                  <div class="form-group row">
                    <div class="col-md-12">
                      <div class="custom-file">
                        <input type="file" class="custom-file-input" name="file">
                        <label class="custom-file-label">gradeinfo</label>
                      </div>
                    </div>
                  </div>
                  <button type="submit" class="btn btn-primary">导入</button>
                </form>

              </div>
            </div>
            <div class="card" style="width: 18rem;">
              <div class="card-body">
                <h5 class="card-title">步骤四</h5>
                <p class="card-text">录入课程信息</p>
                <a th:href="@{/admin/excel/courseinfo}" class="btn btn-primary">下载模板</a>

                <div class="line"></div>
                <form method="post" action="/admin/readexcel/courseInfo" enctype="multipart/form-data">
                  <div class="form-group row">
                    <div class="col-md-12">
                      <div class="custom-file">
                        <input type="file" class="custom-file-input" name="file">
                        <label class="custom-file-label">courseinfo</label>
                      </div>
                    </div>
                  </div>
                  <button type="submit" class="btn btn-primary">导入</button>
                </form>

              </div>
            </div>
            <div class="card" style="width: 18rem;">
              <div class="card-body">
                <h5 class="card-title">步骤五</h5>
                <p class="card-text">录入班级所授课程</p>
                <a th:href="@{/admin/excel/gradecourseinfo}" class="btn btn-primary">下载模板</a>

                <div class="line"></div>
                <form method="post" action="/admin/readexcel/gradeCourseInfo" enctype="multipart/form-data">
                  <div class="form-group row">
                    <div class="col-md-12">
                      <div class="custom-file">
                        <input type="file" class="custom-file-input" name="file">
                        <label class="custom-file-label">gradecourseinfo</label>
                      </div>
                    </div>
                  </div>
                  <button type="submit" class="btn btn-primary">导入</button>
                </form>

              </div>
            </div>
            <div class="card" style="width: 18rem;">
              <div class="card-body">
                <h5 class="card-title">步骤六</h5>
                <p class="card-text">录入学生所在班级</p>
                <a th:href="@{/admin/excel/studentgradeinfo}" class="btn btn-primary">下载模板</a>

                <div class="line"></div>
                <form method="post" action="/admin/readexcel/stuGradeInfo" enctype="multipart/form-data">
                  <div class="form-group row">
                    <div class="col-md-12">
                      <div class="custom-file">
                        <input type="file" class="custom-file-input" name="file">
                        <label class="custom-file-label">studentgradeinfo</label>
                      </div>
                    </div>
                  </div>
                  <button type="submit" class="btn btn-primary">导入</button>
                </form>

              </div>
            </div>
            <div class="card" style="width: 18rem;">
              <div class="card-body">
                <h5 class="card-title">步骤七</h5>
                <p class="card-text">录入学生所选课程</p>
                <a th:href="@{/admin/excel/studentcourseinfo}" class="btn btn-primary">下载模板</a>

                <div class="line"></div>
                <form method="post" action="/admin/readexcel/stuCourseInfo" enctype="multipart/form-data">
                  <div class="form-group row">
                    <div class="col-md-12">
                      <div class="custom-file">
                        <input type="file" class="custom-file-input" name="file">
                        <label class="custom-file-label">studentcourseinfo</label>
                      </div>
                    </div>
                  </div>
                  <button type="submit" class="btn btn-primary">导入</button>
                </form>


              </div>
            </div>
            <div class="card" style="width: 18rem;">
              <div class="card-body">
                <h5 class="card-title">步骤八</h5>
                <p class="card-text">录入教师所授班级</p>
                <a th:href="@{/admin/excel/teachergradeinfo}" class="btn btn-primary">下载模板</a>

                <div class="line"></div>
                <form method="post" action="/admin/readexcel/teaGradeInfo" enctype="multipart/form-data">
                  <div class="form-group row">
                    <div class="col-md-12">
                      <div class="custom-file">
                        <input type="file" class="custom-file-input" name="file">
                        <label class="custom-file-label">teachergradeinfo</label>
                      </div>
                    </div>
                  </div>
                  <button type="submit" class="btn btn-primary">导入</button>
                </form>


              </div>
            </div>


            <div class="card" style="width: 18rem;">
              <div class="card-body">
                <h5 class="card-title">步骤九</h5>
                <p class="card-text">录入教师所授课程</p>
                <a th:href="@{/admin/excel/teachercourseinfo}" class="btn btn-primary">下载模板</a>

                <div class="line"></div>
                <form method="post" action="/admin/readexcel/teaCourseInfo" enctype="multipart/form-data">
                  <div class="form-group row">
                    <div class="col-md-12">
                      <div class="custom-file">
                        <input type="file" class="custom-file-input" name="file">
                        <label class="custom-file-label">teachercourseinfo</label>
                      </div>
                    </div>
                  </div>
                  <button type="submit" class="btn btn-primary">导入</button>
                </form>

              </div>
            </div>

          </div>
        </section>
      </div>
    </div>
  </div>
  <!--上传文件所需JS-->
  <script type="text/javascript" th:src="@{/assert/dist/bs-custom-file-input.js}"></script>
    <!-- JavaScript files-->
    <div th:insert="~{common :: commomjs}"></div>
<!--    <script type="text/javascript">-->
<!--      $(function () {-->
<!--        // 页面加载完毕-->
<!--        $("input").blur(function () {-->
<!--          var workid = $(this).attr("id");-->
<!--          var score = $(this).val();-->
<!--          console.log(workid);-->
<!--          $.ajax({-->
<!--            url:"/teacher/saveScore?workid="+workid+"&score="+score-->
<!--          });-->
<!--        });-->

<!--      })-->
<!--    </script>-->
  </body>
</html>